:root {
    --apple-black: #1d1d1f;
    --apple-dark-gray: #333336;
    --apple-gray: #86868b;
    --apple-light-gray: #f5f5f7;
    --apple-blue: #0066cc;
    --apple-white: #ffffff;
    --apple-red: #ff3b30;
    --apple-green: #34c759;
    --apple-orange: #ff9500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--apple-white);
    color: var(--apple-black);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.pomodoro-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
}

.pomodoro-display {
    background-color: var(--apple-light-gray);
    border-radius: 18px;
    padding: 40px 30px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.time-display {
    font-size: 80px;
    font-weight: 300;
    margin: 20px 0;
    color: var(--apple-black);
}

.progress-container {
    height: 6px;
    background-color: #e1e1e1;
    border-radius: 3px;
    margin: 30px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background-color: var(--apple-blue);
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 1s linear;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 0;
}

.apple-button {
    padding: 10px 20px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.apple-button {
    background-color: var(--apple-blue);
    color: white;
}

.apple-button.secondary {
    background-color: transparent;
    color: var(--apple-blue);
    border: 1px solid var(--apple-blue);
}

.apple-button:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

.mode-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mode-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    background-color: transparent;
    border: 1px solid var(--apple-gray);
    color: var(--apple-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.mode-btn.active {
    background-color: var(--apple-blue);
    border-color: var(--apple-blue);
    color: white;
}

@media (max-width: 480px) {
    .time-display {
        font-size: 60px;
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
    }
    
    .apple-button {
        width: 100%;
    }
}